package com.wisdytech.ccdserver.bucket.api.impl;

import com.wisdytech.ccdserver.bucket.api.IBucketRecordMngService;
import com.wisdytech.ccdserver.bucket.model.BucketRecord;
import com.wisdytech.ccdserver.bucket.serveice.IBucketRecordService;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.common.bean.UniqueResultResponse;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.util.List;

@DubboService
public class BucketRecordMngServiceImpl implements IBucketRecordMngService {

    @Autowired
    private IBucketRecordService bucketRecordService;

    @Override
    public UniqueResultResponse batchSaveBucketRecord(List<BucketRecord> bucketRecordList, Filter filter){
        return bucketRecordService.downLoadbatchSaveBucketRecord(bucketRecordList,filter);
    }
}
